from rest_framework import serializers
from .models import Software, Version


class VersionSerializer(serializers.ModelSerializer):
    class Meta:
        model = Version
        fields = ['version_number', 'download_url', 'release_notes', 
                 'is_force_update', 'min_version'] 